﻿<local:LayoutAwarePage
    x:Class="NewsReaderApp.Views.SettingsPopups.PrivacyPolicyPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:NewsReaderApp.Views"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="768"
    d:DesignWidth="346">

    <Border BorderBrush="{StaticResource ApplicationPageBackgroundDarkThemeBrush}" BorderThickness="1,0,0,0">
        <Grid Background="White" VerticalAlignment="Stretch">

            <!-- Root grid definition -->
            <Grid.RowDefinitions>
                <RowDefinition Height="80"/>
                <RowDefinition Height="*" />
            </Grid.RowDefinitions>

            <!-- Header area for panel -->
            <Grid Background="{StaticResource ApplicationPageBackgroundDarkThemeBrush}" Grid.Row="0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*" />
                </Grid.ColumnDefinitions>

                <StackPanel Orientation="Horizontal" Grid.Column="0" Margin="40, 32, 17, 13">
                    <Button Click="MySettingsBackClicked" Margin="0,3,0,0"  Style="{StaticResource SettingsBackButtonStyle}"/>
                    <TextBlock Margin="10,0,0,0" FontFamily="Segoe UI" FontWeight="SemiLight" FontSize="24.6667" 
                               Text="Privacy Policy" Foreground="White"/>
                </StackPanel>
            </Grid>

            <ScrollViewer VerticalScrollBarVisibility="Auto" Grid.Row="1" MaxZoomFactor="1" MinZoomFactor="1" ZoomMode="Disabled">
                <Grid Margin="40,33,40,39" VerticalAlignment="Top" Grid.RowSpan="3">
                    <TextBlock Style="{StaticResource BasicTextStyle}" x:Name="privacyPolicy">
                        <Run>
                            We are committed to maintaining your confidence and trust, and recognizes your right to keep personal information private.We maintain the following privacy policy to protect personal information you provide online.
                        </Run>
                        <LineBreak/>
                        <LineBreak/>
                        <Run FontWeight="SemiBold" FontSize="20">              
                            Basic Privacy Policy
                        </Run>
                        <LineBreak/>
                        <LineBreak/>
                        <Run>
                            The application collects no personal information about you at anytime.
                        </Run>
                        <LineBreak/>
                        <LineBreak/>
                        <Run FontWeight="SemiBold" FontSize="20">               
                            Information Collected from Application Usage
                        </Run>
                        <LineBreak/><LineBreak/>
                        <Run>
                            The only information collected is application usage. Any information stored remotely will be used solely for the purpose of determining the most popular features and determining what to develop next.
                        </Run>
                        <LineBreak/>
                        <LineBreak/>
                        <Run FontWeight="SemiBold" FontSize="20">
                            No Release of Information to Third Parties
                        </Run>
                        <LineBreak/>
                        <LineBreak/>
                        <Run>
                            Personal information and application usage statistics will not be released to third parties except as necessary to further the purpose for which you provide the information and where it is legally required, such as in the investigation of a criminal offense, and in compliance with a search warrant or subpoena.
                        </Run>
                    </TextBlock>
                </Grid>
            </ScrollViewer>
        </Grid>
    </Border>
</local:LayoutAwarePage>